<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SimpleWindow: ImageList.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SimpleWindow
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('_image_list_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">ImageList.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span> </div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="preprocessor">#include &quot;Dip.h&quot;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#include &quot;Point.h&quot;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="preprocessor">#include &lt;CommCtrl.h&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span> </div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="keyword">namespace </span>sw</div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span>{</div>
<div class="foldopen" id="foldopen00012" data-start="{" data-end="};">
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html">   12</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classsw_1_1_image_list.html">ImageList</a></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span>    {</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">HIMAGELIST</a> _hImageList;</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span>        <span class="keywordtype">bool</span> _isWrap;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span>    <span class="keyword">protected</span>:</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#aebd5f923b68aed80790b269303a621fa">   31</a></span>        <a class="code hl_function" href="classsw_1_1_image_list.html#aebd5f923b68aed80790b269303a621fa">ImageList</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">HIMAGELIST</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hImageList</a>, <span class="keywordtype">bool</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">isWrap</a>);</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a91fe4cb95359184c1cfd66b7a55ba862">   37</a></span>        <a class="code hl_function" href="classsw_1_1_image_list.html#a91fe4cb95359184c1cfd66b7a55ba862">ImageList</a>(<span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">cx</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">cy</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">UINT</a> flags, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">cInitial</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">cGrow</a>);</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#ad94134709c7742e9bd1e11395f2be42e">   42</a></span>        <a class="code hl_function" href="classsw_1_1_image_list.html#ad94134709c7742e9bd1e11395f2be42e">ImageList</a>(<span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_image_list.html">ImageList</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">value</a>);</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a01071d75da6c5bfd02058411afa4d4ff">   47</a></span>        <a class="code hl_function" href="classsw_1_1_image_list.html#a01071d75da6c5bfd02058411afa4d4ff">ImageList</a>(<a class="code hl_class" href="classsw_1_1_image_list.html">ImageList</a> &amp;&amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">rvalue</a>);</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#ac39110050fa5810d799d79322624a220">   52</a></span>        <span class="keyword">virtual</span> <a class="code hl_function" href="classsw_1_1_image_list.html#ac39110050fa5810d799d79322624a220">~ImageList</a>();</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#ac7e483a705aa1ae2f8a8a56110ba8ab7">   57</a></span>        <a class="code hl_class" href="classsw_1_1_image_list.html">ImageList</a> &amp;<a class="code hl_function" href="classsw_1_1_image_list.html#ac7e483a705aa1ae2f8a8a56110ba8ab7">operator=</a>(<span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_image_list.html">ImageList</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">value</a>);</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span> </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#ae8fc82e08530d94036b62e5a8c273679">   62</a></span>        <a class="code hl_class" href="classsw_1_1_image_list.html">ImageList</a> &amp;<a class="code hl_function" href="classsw_1_1_image_list.html#ae8fc82e08530d94036b62e5a8c273679">operator=</a>(<a class="code hl_class" href="classsw_1_1_image_list.html">ImageList</a> &amp;&amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">rvalue</a>);</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span> </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a880ac4fd98a4602480ce760fa6a9d332">   68</a></span>        <span class="keyword">static</span> <a class="code hl_class" href="classsw_1_1_image_list.html">ImageList</a> <a class="code hl_function" href="classsw_1_1_image_list.html#a880ac4fd98a4602480ce760fa6a9d332">Create</a>(<span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">cx</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">cy</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">UINT</a> flags, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">cInitial</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">cGrow</a>);</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span> </div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a05c15ad4b9d0dff17f2513d8fe40260a">   75</a></span>        <span class="keyword">static</span> <a class="code hl_class" href="classsw_1_1_image_list.html">ImageList</a> <a class="code hl_function" href="classsw_1_1_image_list.html#a05c15ad4b9d0dff17f2513d8fe40260a">Wrap</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">HIMAGELIST</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hImageList</a>);</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span> </div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a48997d021e3a815ddc3f8a609c801416">   80</a></span>        <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#a48997d021e3a815ddc3f8a609c801416">Copy</a>(<span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_image_list.html">ImageList</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">dst</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">iDst</a>, <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_image_list.html">ImageList</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">src</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">iSrc</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">UINT</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">uFlags</a>);</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span> </div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a6663c89b5ad3ae965ec4871d73560d01">   85</a></span>        <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#a6663c89b5ad3ae965ec4871d73560d01">DragEnter</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">HWND</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hwndLock</a>, <span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y);</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span> </div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#ad2bfeeb41dbd1c7e720c99834acb59ac">   90</a></span>        <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#ad2bfeeb41dbd1c7e720c99834acb59ac">DragLeave</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">HWND</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hwndLock</a>);</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span> </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#ad7c173d2524fec0403df9cec068c7f61">   95</a></span>        <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#ad7c173d2524fec0403df9cec068c7f61">DragMove</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y);</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span> </div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#aa0d44a25ff0352d05b34228d675c69c0">  100</a></span>        <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#aa0d44a25ff0352d05b34228d675c69c0">DragShowNolock</a>(<span class="keywordtype">bool</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">fShow</a>);</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span> </div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a71d142366b5920ec8aa6c9a374632e18">  105</a></span>        <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_image_list.html#a71d142366b5920ec8aa6c9a374632e18">EndDrag</a>();</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span> </div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a387dc74d2fe28b08f847efd9c0601955">  110</a></span>        <span class="keyword">static</span> <a class="code hl_class" href="classsw_1_1_image_list.html">ImageList</a> <a class="code hl_function" href="classsw_1_1_image_list.html#a387dc74d2fe28b08f847efd9c0601955">GetDragImage</a>(<a class="code hl_struct" href="structsw_1_1_point.html">Point</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">pt</a>, <a class="code hl_struct" href="structsw_1_1_point.html">Point</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">ptHotspot</a>);</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span> </div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a54db92dcaa75f9cf3f5f72d6319af6a4">  115</a></span>        <span class="keyword">static</span> <a class="code hl_class" href="classsw_1_1_image_list.html">ImageList</a> <a class="code hl_function" href="classsw_1_1_image_list.html#a54db92dcaa75f9cf3f5f72d6319af6a4">LoadImageA</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">HINSTANCE</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hi</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">LPCSTR</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">lpbmp</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">cx</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">cGrow</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">COLORREF</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">crMask</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">UINT</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">uType</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">UINT</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">uFlags</a>);</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span> </div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a254d64c41c8f5a9ea92889a33a4b5dfa">  120</a></span>        <span class="keyword">static</span> <a class="code hl_class" href="classsw_1_1_image_list.html">ImageList</a> <a class="code hl_function" href="classsw_1_1_image_list.html#a254d64c41c8f5a9ea92889a33a4b5dfa">LoadImageW</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">HINSTANCE</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hi</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">LPCWSTR</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">lpbmp</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">cx</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">cGrow</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">COLORREF</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">crMask</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">UINT</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">uType</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">UINT</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">uFlags</a>);</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span> </div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#adca5d8123ebaccbbc618b9934e1d4158">  125</a></span>        <span class="keyword">static</span> <a class="code hl_class" href="classsw_1_1_image_list.html">ImageList</a> <a class="code hl_function" href="classsw_1_1_image_list.html#adca5d8123ebaccbbc618b9934e1d4158">Merge</a>(<span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_image_list.html">ImageList</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">iml1</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">i1</a>, <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_image_list.html">ImageList</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">iml2</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">i2</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">dx</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">dy</a>);</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span> </div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#ac9e8a7e7e65e852fae12d29e899d42e5">  130</a></span>        <span class="keyword">static</span> <a class="code hl_class" href="classsw_1_1_image_list.html">ImageList</a> <a class="code hl_function" href="classsw_1_1_image_list.html#ac9e8a7e7e65e852fae12d29e899d42e5">Read</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">IStream</a> *<a class="code hl_class" href="classsw_1_1_dictionary.html">pstm</a>);</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span> </div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno">  132</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a8495f1fa292a2667543321db4d90bfb1">  136</a></span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">HIMAGELIST</a> <a class="code hl_function" href="classsw_1_1_image_list.html#a8495f1fa292a2667543321db4d90bfb1">GetHandle</a>();</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span> </div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a640e190d8b3710b6d234792197bb329b">  141</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#a640e190d8b3710b6d234792197bb329b">IsWrap</a>();</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span> </div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a16929804b8a2084329f0958a5b263503">  146</a></span>        <span class="keywordtype">int</span> <a class="code hl_function" href="classsw_1_1_image_list.html#a16929804b8a2084329f0958a5b263503">Add</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">HBITMAP</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hbmImage</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">HBITMAP</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hbmMask</a>);</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span> </div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a371fa168a8a4206474e7b281eb448260">  151</a></span>        <span class="keywordtype">int</span> <a class="code hl_function" href="classsw_1_1_image_list.html#a371fa168a8a4206474e7b281eb448260">AddMasked</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">HBITMAP</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hbmImage</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">COLORREF</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">crMask</a>);</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno">  152</span> </div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a087a19f32b2d305f284b770237e7cbb1">  156</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#a087a19f32b2d305f284b770237e7cbb1">BeginDrag</a>(<span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">iTrack</a>, <span class="keywordtype">double</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">dxHotspot</a>, <span class="keywordtype">double</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">dyHotspot</a>);</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span> </div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a55b79373d96af59d74a3c9bfe3965d3c">  161</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#a55b79373d96af59d74a3c9bfe3965d3c">Draw</a>(<span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">i</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">HDC</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hdcDst</a>, <span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <a class="code hl_class" href="classsw_1_1_dictionary.html">UINT</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">fStyle</a>);</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno">  162</span> </div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#aa78e37dc1f35ea0feab07a371d976284">  166</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#aa78e37dc1f35ea0feab07a371d976284">Draw</a>(<span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">i</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">HDC</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hdcDst</a>, <span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">dx</a>, <span class="keywordtype">double</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">dy</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">COLORREF</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">rgbBk</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">COLORREF</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">rgbFg</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">UINT</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">fStyle</a>);</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno">  167</span> </div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#af1a861fe7edfb350de315fcc94064165">  171</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#af1a861fe7edfb350de315fcc94064165">DrawPx</a>(<span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">i</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">HDC</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hdcDst</a>, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <a class="code hl_class" href="classsw_1_1_dictionary.html">UINT</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">fStyle</a>);</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno">  172</span> </div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a84b971450d4e751bfe517219869289ae">  176</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#a84b971450d4e751bfe517219869289ae">DrawPx</a>(<span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">i</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">HDC</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hdcDst</a>, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">dx</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">dy</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">COLORREF</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">rgbBk</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">COLORREF</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">rgbFg</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">UINT</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">fStyle</a>);</div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno">  177</span> </div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a65d9d17f68f44ab3c23531c7e9fe8d4b">  181</a></span>        <a class="code hl_class" href="classsw_1_1_image_list.html">ImageList</a> <a class="code hl_function" href="classsw_1_1_image_list.html#a65d9d17f68f44ab3c23531c7e9fe8d4b">Duplicate</a>();</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno">  182</span> </div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a91e2810916e7a2b1cc1f0b645f2e93c2">  186</a></span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">COLORREF</a> <a class="code hl_function" href="classsw_1_1_image_list.html#a91e2810916e7a2b1cc1f0b645f2e93c2">GetBkColor</a>();</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno">  187</span> </div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a7c6bd70272e91cb2864eadd2cad8699e">  191</a></span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">HICON</a> <a class="code hl_function" href="classsw_1_1_image_list.html#a7c6bd70272e91cb2864eadd2cad8699e">GetIcon</a>(<span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">i</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">UINT</a> flags);</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span> </div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a06efc8f7069f2b36ebe6e1b670fd76e0">  196</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#a06efc8f7069f2b36ebe6e1b670fd76e0">GetIconSize</a>(<span class="keywordtype">int</span> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">cx</a>, <span class="keywordtype">int</span> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">cy</a>);</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno">  197</span> </div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#aecd3933b5f90659befc686971249fd23">  201</a></span>        <span class="keywordtype">int</span> <a class="code hl_function" href="classsw_1_1_image_list.html#aecd3933b5f90659befc686971249fd23">GetImageCount</a>();</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno">  202</span> </div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#ac7a6e514c37ea4efc090d6a927f74e0b">  206</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#ac7a6e514c37ea4efc090d6a927f74e0b">GetImageInfo</a>(<span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">i</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">IMAGEINFO</a> *<a class="code hl_class" href="classsw_1_1_dictionary.html">pImageInfo</a>);</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno">  207</span> </div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a44e2ba6e4c0634bc657f68efef2e2780">  211</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#a44e2ba6e4c0634bc657f68efef2e2780">Remove</a>(<span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">i</a>);</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno">  212</span> </div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a64792d6a098071c39917191399d2ce9c">  216</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#a64792d6a098071c39917191399d2ce9c">RemoveAll</a>();</div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno">  217</span> </div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a9a6b0efc4217626ce43c7dd4d922e484">  221</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#a9a6b0efc4217626ce43c7dd4d922e484">Replace</a>(<span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">i</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">HBITMAP</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hbmImage</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">HBITMAP</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hbmMask</a>);</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno">  222</span> </div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a3ed6264ffa967f24bdaf547cd8b2129d">  226</a></span>        <span class="keywordtype">int</span> <a class="code hl_function" href="classsw_1_1_image_list.html#a3ed6264ffa967f24bdaf547cd8b2129d">ReplaceIcon</a>(<span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">i</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">HICON</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hicon</a>);</div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno">  227</span> </div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a90faf8d6d490055ae723dd7735221ea0">  231</a></span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">COLORREF</a> <a class="code hl_function" href="classsw_1_1_image_list.html#a90faf8d6d490055ae723dd7735221ea0">SetBkColor</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">COLORREF</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">clrBk</a>);</div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno">  232</span> </div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a19ff9980768b9e0dace609e2f182db72">  236</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#a19ff9980768b9e0dace609e2f182db72">SetDragCursorImage</a>(<span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">iDrag</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">dxHotspot</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">dyHotspot</a>);</div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno">  237</span> </div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a750f71a7a8f14d18d14c026ea3bc2566">  241</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#a750f71a7a8f14d18d14c026ea3bc2566">SetIconSize</a>(<span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">cx</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">cy</a>);</div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno">  242</span> </div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a8db4caa03f9f294950eae85ed79a67e6">  246</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#a8db4caa03f9f294950eae85ed79a67e6">SetImageCount</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">UINT</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">uNewCount</a>);</div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno">  247</span> </div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#ab54ce1532d2576f7103468486d7b5dac">  251</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#ab54ce1532d2576f7103468486d7b5dac">SetOverlayImage</a>(<span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">iImage</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">iOverlay</a>);</div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno">  252</span> </div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"><a class="line" href="classsw_1_1_image_list.html#a978978d6bc38f32b85e8cdcaafd08664">  256</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_image_list.html#a978978d6bc38f32b85e8cdcaafd08664">Write</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">IStream</a> *<a class="code hl_class" href="classsw_1_1_dictionary.html">pstm</a>);</div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno">  257</span> </div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno">  258</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno">  262</span>        <span class="keywordtype">void</span> _DestroyIfNotWrap();</div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno">  263</span>    };</div>
</div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno">  264</span>}</div>
<div class="ttc" id="aclasssw_1_1_dictionary_html"><div class="ttname"><a href="classsw_1_1_dictionary.html">sw::Dictionary</a></div><div class="ttdoc">字典类，内部维护了一个指向std::map的智能指针</div><div class="ttdef"><b>Definition</b> Dictionary.h:24</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html"><div class="ttname"><a href="classsw_1_1_image_list.html">sw::ImageList</a></div><div class="ttdoc">图像列表</div><div class="ttdef"><b>Definition</b> ImageList.h:13</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a01071d75da6c5bfd02058411afa4d4ff"><div class="ttname"><a href="classsw_1_1_image_list.html#a01071d75da6c5bfd02058411afa4d4ff">sw::ImageList::ImageList</a></div><div class="ttdeci">ImageList(ImageList &amp;&amp;rvalue)</div><div class="ttdoc">移动构造</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a05c15ad4b9d0dff17f2513d8fe40260a"><div class="ttname"><a href="classsw_1_1_image_list.html#a05c15ad4b9d0dff17f2513d8fe40260a">sw::ImageList::Wrap</a></div><div class="ttdeci">static ImageList Wrap(HIMAGELIST hImageList)</div><div class="ttdoc">包装一个图像列表句柄为ImageList对象，通过该函数创建的对象析构时不会销毁句柄</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a06efc8f7069f2b36ebe6e1b670fd76e0"><div class="ttname"><a href="classsw_1_1_image_list.html#a06efc8f7069f2b36ebe6e1b670fd76e0">sw::ImageList::GetIconSize</a></div><div class="ttdeci">bool GetIconSize(int &amp;cx, int &amp;cy)</div><div class="ttdoc">获取图标大小，该函数调用ImageList_GetIconSize</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a087a19f32b2d305f284b770237e7cbb1"><div class="ttname"><a href="classsw_1_1_image_list.html#a087a19f32b2d305f284b770237e7cbb1">sw::ImageList::BeginDrag</a></div><div class="ttdeci">bool BeginDrag(int iTrack, double dxHotspot, double dyHotspot)</div><div class="ttdoc">开始拖拽图像，该函数调用ImageList_BeginDrag</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a16929804b8a2084329f0958a5b263503"><div class="ttname"><a href="classsw_1_1_image_list.html#a16929804b8a2084329f0958a5b263503">sw::ImageList::Add</a></div><div class="ttdeci">int Add(HBITMAP hbmImage, HBITMAP hbmMask)</div><div class="ttdoc">添加图像，该函数调用ImageList_Add</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a19ff9980768b9e0dace609e2f182db72"><div class="ttname"><a href="classsw_1_1_image_list.html#a19ff9980768b9e0dace609e2f182db72">sw::ImageList::SetDragCursorImage</a></div><div class="ttdeci">bool SetDragCursorImage(int iDrag, int dxHotspot, int dyHotspot)</div><div class="ttdoc">设置拖拽图标为指定图标与当前拖拽图标的结合，该函数调用ImageList_SetDragCursorImage</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a254d64c41c8f5a9ea92889a33a4b5dfa"><div class="ttname"><a href="classsw_1_1_image_list.html#a254d64c41c8f5a9ea92889a33a4b5dfa">sw::ImageList::LoadImageW</a></div><div class="ttdeci">static ImageList LoadImageW(HINSTANCE hi, LPCWSTR lpbmp, int cx, int cGrow, COLORREF crMask, UINT uType, UINT uFlags)</div><div class="ttdoc">加载图像列表，该函数调用ImageList_LoadImageW</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a371fa168a8a4206474e7b281eb448260"><div class="ttname"><a href="classsw_1_1_image_list.html#a371fa168a8a4206474e7b281eb448260">sw::ImageList::AddMasked</a></div><div class="ttdeci">int AddMasked(HBITMAP hbmImage, COLORREF crMask)</div><div class="ttdoc">添加图像，指定颜色为mask，该函数调用ImageList_AddMasked</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a387dc74d2fe28b08f847efd9c0601955"><div class="ttname"><a href="classsw_1_1_image_list.html#a387dc74d2fe28b08f847efd9c0601955">sw::ImageList::GetDragImage</a></div><div class="ttdeci">static ImageList GetDragImage(Point &amp;pt, Point &amp;ptHotspot)</div><div class="ttdoc">获取拖拽中图像的列表，该函数调用ImageList_GetDragImage</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a3ed6264ffa967f24bdaf547cd8b2129d"><div class="ttname"><a href="classsw_1_1_image_list.html#a3ed6264ffa967f24bdaf547cd8b2129d">sw::ImageList::ReplaceIcon</a></div><div class="ttdeci">int ReplaceIcon(int i, HICON hicon)</div><div class="ttdoc">更换图标，该函数调用ImageList_ReplaceIcon</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a44e2ba6e4c0634bc657f68efef2e2780"><div class="ttname"><a href="classsw_1_1_image_list.html#a44e2ba6e4c0634bc657f68efef2e2780">sw::ImageList::Remove</a></div><div class="ttdeci">bool Remove(int i)</div><div class="ttdoc">移除指定图像，该函数调用ImageList_Remove</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a48997d021e3a815ddc3f8a609c801416"><div class="ttname"><a href="classsw_1_1_image_list.html#a48997d021e3a815ddc3f8a609c801416">sw::ImageList::Copy</a></div><div class="ttdeci">static bool Copy(const ImageList &amp;dst, int iDst, const ImageList &amp;src, int iSrc, UINT uFlags)</div><div class="ttdoc">复制图像，该函数调用ImageList_Copy</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a54db92dcaa75f9cf3f5f72d6319af6a4"><div class="ttname"><a href="classsw_1_1_image_list.html#a54db92dcaa75f9cf3f5f72d6319af6a4">sw::ImageList::LoadImageA</a></div><div class="ttdeci">static ImageList LoadImageA(HINSTANCE hi, LPCSTR lpbmp, int cx, int cGrow, COLORREF crMask, UINT uType, UINT uFlags)</div><div class="ttdoc">加载图像列表，该函数调用ImageList_LoadImageA</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a55b79373d96af59d74a3c9bfe3965d3c"><div class="ttname"><a href="classsw_1_1_image_list.html#a55b79373d96af59d74a3c9bfe3965d3c">sw::ImageList::Draw</a></div><div class="ttdeci">bool Draw(int i, HDC hdcDst, double x, double y, UINT fStyle)</div><div class="ttdoc">在指定上下文DC下绘制图像，该函数调用ImageList_Draw</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a640e190d8b3710b6d234792197bb329b"><div class="ttname"><a href="classsw_1_1_image_list.html#a640e190d8b3710b6d234792197bb329b">sw::ImageList::IsWrap</a></div><div class="ttdeci">bool IsWrap()</div><div class="ttdoc">判断当前对象是否为包装对象</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a64792d6a098071c39917191399d2ce9c"><div class="ttname"><a href="classsw_1_1_image_list.html#a64792d6a098071c39917191399d2ce9c">sw::ImageList::RemoveAll</a></div><div class="ttdeci">bool RemoveAll()</div><div class="ttdoc">移除所有图像，该函数调用ImageList_Remove</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a65d9d17f68f44ab3c23531c7e9fe8d4b"><div class="ttname"><a href="classsw_1_1_image_list.html#a65d9d17f68f44ab3c23531c7e9fe8d4b">sw::ImageList::Duplicate</a></div><div class="ttdeci">ImageList Duplicate()</div><div class="ttdoc">复制当前图像列表，该函数调用ImageList_Duplicate</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a6663c89b5ad3ae965ec4871d73560d01"><div class="ttname"><a href="classsw_1_1_image_list.html#a6663c89b5ad3ae965ec4871d73560d01">sw::ImageList::DragEnter</a></div><div class="ttdeci">static bool DragEnter(HWND hwndLock, double x, double y)</div><div class="ttdoc">锁定窗口并在指定窗口内显示拖拽图像，该函数调用ImageList_DragEnter</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a71d142366b5920ec8aa6c9a374632e18"><div class="ttname"><a href="classsw_1_1_image_list.html#a71d142366b5920ec8aa6c9a374632e18">sw::ImageList::EndDrag</a></div><div class="ttdeci">static void EndDrag()</div><div class="ttdoc">结束拖拽，该函数调用ImageList_EndDrag</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a750f71a7a8f14d18d14c026ea3bc2566"><div class="ttname"><a href="classsw_1_1_image_list.html#a750f71a7a8f14d18d14c026ea3bc2566">sw::ImageList::SetIconSize</a></div><div class="ttdeci">bool SetIconSize(int cx, int cy)</div><div class="ttdoc">设置图像大小并移除所有图像，该函数调用ImageList_SetIconSize</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a7c6bd70272e91cb2864eadd2cad8699e"><div class="ttname"><a href="classsw_1_1_image_list.html#a7c6bd70272e91cb2864eadd2cad8699e">sw::ImageList::GetIcon</a></div><div class="ttdeci">HICON GetIcon(int i, UINT flags)</div><div class="ttdoc">通过指定位置的图像创建图标句柄，该函数调用ImageList_GetIcon</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a8495f1fa292a2667543321db4d90bfb1"><div class="ttname"><a href="classsw_1_1_image_list.html#a8495f1fa292a2667543321db4d90bfb1">sw::ImageList::GetHandle</a></div><div class="ttdeci">HIMAGELIST GetHandle()</div><div class="ttdoc">获取图像列表的句柄</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a84b971450d4e751bfe517219869289ae"><div class="ttname"><a href="classsw_1_1_image_list.html#a84b971450d4e751bfe517219869289ae">sw::ImageList::DrawPx</a></div><div class="ttdeci">bool DrawPx(int i, HDC hdcDst, int x, int y, int dx, int dy, COLORREF rgbBk, COLORREF rgbFg, UINT fStyle)</div><div class="ttdoc">以像素为单位，在指定上下文DC下绘制图像，该函数调用ImageList_DrawEx</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a880ac4fd98a4602480ce760fa6a9d332"><div class="ttname"><a href="classsw_1_1_image_list.html#a880ac4fd98a4602480ce760fa6a9d332">sw::ImageList::Create</a></div><div class="ttdeci">static ImageList Create(int cx, int cy, UINT flags, int cInitial, int cGrow)</div><div class="ttdoc">创建一个图像列表，该函数调用ImageList_Create</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a8db4caa03f9f294950eae85ed79a67e6"><div class="ttname"><a href="classsw_1_1_image_list.html#a8db4caa03f9f294950eae85ed79a67e6">sw::ImageList::SetImageCount</a></div><div class="ttdeci">bool SetImageCount(UINT uNewCount)</div><div class="ttdoc">设置图像个数，该函数调用ImageList_SetImageCount</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a90faf8d6d490055ae723dd7735221ea0"><div class="ttname"><a href="classsw_1_1_image_list.html#a90faf8d6d490055ae723dd7735221ea0">sw::ImageList::SetBkColor</a></div><div class="ttdeci">COLORREF SetBkColor(COLORREF clrBk)</div><div class="ttdoc">设置背景颜色，该函数调用ImageList_SetBkColor</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a91e2810916e7a2b1cc1f0b645f2e93c2"><div class="ttname"><a href="classsw_1_1_image_list.html#a91e2810916e7a2b1cc1f0b645f2e93c2">sw::ImageList::GetBkColor</a></div><div class="ttdeci">COLORREF GetBkColor()</div><div class="ttdoc">获取背景颜色，该函数调用ImageList_GetBkColor</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a91fe4cb95359184c1cfd66b7a55ba862"><div class="ttname"><a href="classsw_1_1_image_list.html#a91fe4cb95359184c1cfd66b7a55ba862">sw::ImageList::ImageList</a></div><div class="ttdeci">ImageList(int cx, int cy, UINT flags, int cInitial, int cGrow)</div><div class="ttdoc">创建图像列表，参数与ImageList_Create相同</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a978978d6bc38f32b85e8cdcaafd08664"><div class="ttname"><a href="classsw_1_1_image_list.html#a978978d6bc38f32b85e8cdcaafd08664">sw::ImageList::Write</a></div><div class="ttdeci">bool Write(IStream *pstm)</div><div class="ttdoc">写图像列表，该函数调用ImageList_Write</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_a9a6b0efc4217626ce43c7dd4d922e484"><div class="ttname"><a href="classsw_1_1_image_list.html#a9a6b0efc4217626ce43c7dd4d922e484">sw::ImageList::Replace</a></div><div class="ttdeci">bool Replace(int i, HBITMAP hbmImage, HBITMAP hbmMask)</div><div class="ttdoc">更换指定位置的图像，该函数调用ImageList_Replace</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_aa0d44a25ff0352d05b34228d675c69c0"><div class="ttname"><a href="classsw_1_1_image_list.html#aa0d44a25ff0352d05b34228d675c69c0">sw::ImageList::DragShowNolock</a></div><div class="ttdeci">static bool DragShowNolock(bool fShow)</div><div class="ttdoc">拖拽时显示或隐藏图像，该函数调用ImageList_DragShowNolock</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_aa78e37dc1f35ea0feab07a371d976284"><div class="ttname"><a href="classsw_1_1_image_list.html#aa78e37dc1f35ea0feab07a371d976284">sw::ImageList::Draw</a></div><div class="ttdeci">bool Draw(int i, HDC hdcDst, double x, double y, double dx, double dy, COLORREF rgbBk, COLORREF rgbFg, UINT fStyle)</div><div class="ttdoc">在指定上下文DC下绘制图像，该函数调用ImageList_DrawEx</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_ab54ce1532d2576f7103468486d7b5dac"><div class="ttname"><a href="classsw_1_1_image_list.html#ab54ce1532d2576f7103468486d7b5dac">sw::ImageList::SetOverlayImage</a></div><div class="ttdeci">bool SetOverlayImage(int iImage, int iOverlay)</div><div class="ttdoc">将指定的图像添加到要用作覆盖遮罩的图像列表中，该函数调用ImageList_SetOverlayImage</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_ac39110050fa5810d799d79322624a220"><div class="ttname"><a href="classsw_1_1_image_list.html#ac39110050fa5810d799d79322624a220">sw::ImageList::~ImageList</a></div><div class="ttdeci">virtual ~ImageList()</div><div class="ttdoc">析构函数</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_ac7a6e514c37ea4efc090d6a927f74e0b"><div class="ttname"><a href="classsw_1_1_image_list.html#ac7a6e514c37ea4efc090d6a927f74e0b">sw::ImageList::GetImageInfo</a></div><div class="ttdeci">bool GetImageInfo(int i, IMAGEINFO *pImageInfo)</div><div class="ttdoc">获取图像信息，该函数调用ImageList_GetImageInfo</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_ac7e483a705aa1ae2f8a8a56110ba8ab7"><div class="ttname"><a href="classsw_1_1_image_list.html#ac7e483a705aa1ae2f8a8a56110ba8ab7">sw::ImageList::operator=</a></div><div class="ttdeci">ImageList &amp; operator=(const ImageList &amp;value)</div><div class="ttdoc">拷贝赋值</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_ac9e8a7e7e65e852fae12d29e899d42e5"><div class="ttname"><a href="classsw_1_1_image_list.html#ac9e8a7e7e65e852fae12d29e899d42e5">sw::ImageList::Read</a></div><div class="ttdeci">static ImageList Read(IStream *pstm)</div><div class="ttdoc">读取图像列表，该函数调用ImageList_Read</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_ad2bfeeb41dbd1c7e720c99834acb59ac"><div class="ttname"><a href="classsw_1_1_image_list.html#ad2bfeeb41dbd1c7e720c99834acb59ac">sw::ImageList::DragLeave</a></div><div class="ttdeci">static bool DragLeave(HWND hwndLock)</div><div class="ttdoc">解除窗口锁定并隐藏显示的拖拽图像，该函数调用ImageList_DragLeave</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_ad7c173d2524fec0403df9cec068c7f61"><div class="ttname"><a href="classsw_1_1_image_list.html#ad7c173d2524fec0403df9cec068c7f61">sw::ImageList::DragMove</a></div><div class="ttdeci">static bool DragMove(double x, double y)</div><div class="ttdoc">拖拽移动，一般在WM_MOUSEMOVE函数中调用，该函数调用ImageList_DragMove</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_ad94134709c7742e9bd1e11395f2be42e"><div class="ttname"><a href="classsw_1_1_image_list.html#ad94134709c7742e9bd1e11395f2be42e">sw::ImageList::ImageList</a></div><div class="ttdeci">ImageList(const ImageList &amp;value)</div><div class="ttdoc">拷贝构造</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_adca5d8123ebaccbbc618b9934e1d4158"><div class="ttname"><a href="classsw_1_1_image_list.html#adca5d8123ebaccbbc618b9934e1d4158">sw::ImageList::Merge</a></div><div class="ttdeci">static ImageList Merge(const ImageList &amp;iml1, int i1, const ImageList &amp;iml2, int i2, int dx, int dy)</div><div class="ttdoc">合并两个图像列表，该函数调用ImageList_Merge</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_ae8fc82e08530d94036b62e5a8c273679"><div class="ttname"><a href="classsw_1_1_image_list.html#ae8fc82e08530d94036b62e5a8c273679">sw::ImageList::operator=</a></div><div class="ttdeci">ImageList &amp; operator=(ImageList &amp;&amp;rvalue)</div><div class="ttdoc">移动赋值</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_aebd5f923b68aed80790b269303a621fa"><div class="ttname"><a href="classsw_1_1_image_list.html#aebd5f923b68aed80790b269303a621fa">sw::ImageList::ImageList</a></div><div class="ttdeci">ImageList(HIMAGELIST hImageList, bool isWrap)</div><div class="ttdoc">初始化图像列表</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_aecd3933b5f90659befc686971249fd23"><div class="ttname"><a href="classsw_1_1_image_list.html#aecd3933b5f90659befc686971249fd23">sw::ImageList::GetImageCount</a></div><div class="ttdeci">int GetImageCount()</div><div class="ttdoc">获取图像个数，该函数调用ImageList_GetImageCount</div></div>
<div class="ttc" id="aclasssw_1_1_image_list_html_af1a861fe7edfb350de315fcc94064165"><div class="ttname"><a href="classsw_1_1_image_list.html#af1a861fe7edfb350de315fcc94064165">sw::ImageList::DrawPx</a></div><div class="ttdeci">bool DrawPx(int i, HDC hdcDst, int x, int y, UINT fStyle)</div><div class="ttdoc">以像素为单位，在指定上下文DC下绘制图像，该函数调用ImageList_Draw</div></div>
<div class="ttc" id="astructsw_1_1_point_html"><div class="ttname"><a href="structsw_1_1_point.html">sw::Point</a></div><div class="ttdoc">表示相对于左上角的点坐标</div><div class="ttdef"><b>Definition</b> Point.h:11</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_01fcd3835fb4e7d9331b722d86291b65.html">sw</a></li><li class="navelem"><a class="el" href="dir_ed5f6ece24ffcc4307a76d27c2494db3.html">inc</a></li><li class="navelem"><b>ImageList.h</b></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0 </li>
  </ul>
</div>
</body>
</html>
